Everything about Rata Die totally explained
Rata Die (
RD) is a system for assigning numbers to calendar days (optionally with time of day), independent of any calendar, for the purposes of
calendrical calculations.It was named (after the
Latin for "fixed date") by
Edward Reingold and Nachum Dershowitz for their book
Calendrical Calculations.
However, essentially the same system (including the same epoch) was used previously by the
REXX programming language and by others.
Rata Die is somewhat similar to
Julian Dates (JD), in that the values are plain
real numbers that increase by 1 each day.
The systems differ principally in that JD takes on a particular value at a particular absolute time, and is the same in all contexts, whereas RD values are relative to
timezone. This makes RD more suitable for work on calendar dates, whereas JD is more suitable for work on time per se.
The systems also differ trivially by having different epochs: RD is zero at midnight local time on
December 31 1 BC in the
proleptic Gregorian calendar, whereas JD is zero at noon
Universal Time on
January 1 4713 BC in the
proleptic Julian calendar.
Forms
There are three distinct forms of RD. In this section that'll each be defined in terms of Julian Dates. "Zoff" is the offset of the timezone being used, in fractional days. (For example, in
Eastern Standard Time, 5 hours behind
UT, Zoff = -5/24.)
The first form of RD is a continuously-increasing fractional number, taking integer values at midnight local time. It may be defined in terms of the Julian Date as
» RD = JD − 1721424.5 + Zoff
In the second form, RD is an integer that labels an entire day, from midnight to midnight local time. This is the result of rounding the first form of RD downwards (towards negative infinity). It is the same as the relation between Julian Date and Julian Day Number (JDN). Thus:
» RD = floor(JD − 1721424.5 + Zoff)
In the third form, the RD is an integer labelling noon local time, and incapable of labelling any other time of day. This is defined as
» RD = JD − 1721425 + Zoff
where the RD value must be an integer, thus constraining the choice of JD. (The fractional part of the JD must have a particular value which depends on Zoff.) This form of RD is used in the book for conversion of calendar dates between calendars that separate days on different boundaries.
The book doesn't explicitly distinguish between these three forms, using the abbreviation "RD" for all of them.
Similar system
There is another day count system that's based on local time.
The
Lilian Day Number (LDN) is an integer labelling a whole day (like the second form of RD). LDN is zero on
October 14 1582 in the
proleptic Gregorian calendar, which is the day before the Gregorian calendar officially entered use. It is named after
Aloysius Lilius, the inventor of the
Gregorian calendar. It can be defined mathematically as:
» LDN = floor(JD - 2299159.5 + Zoff)
See the "
Julian Date" article for systems that are independent of timezone.
Further Information
Get more info on 'Rata Die'.
|
External Link Exchanges
Do you know how hard it is to get a link from a large encyclopaedia? Well we're different and will prove it. To get a link from us just add the following HTML to your site on a relevant page:
<a href="http://rata_die.totallyexplained.com">Rata Die Totally Explained</a>
Then simply click through this link from your web page. Our crawlers will verify your link, extract the title of your web page and instantly add a link back to it. If you like you can remove the words Totally Explained and embed the link in article text.
As long as your link remains in place, we'll keep our link to you right here. Please play fair - our crawlers are watching. Your site must be closely related to this one's topic. Any kind of spamming, dubious practises or removing the link will result in your link from us being dropped and, potentially, your whole site being banned. |